package com.aisino.inveli.vinda.service;

import com.aisino.inveli.vinda.entity.ConfigEntity;
import com.aisino.inveli.vinda.entity.GoodsList;
import com.aisino.inveli.vinda.entity.InvEliInfo;
import com.aisinogd.fp.dzfp.companyinterface.hessian.pojo.ElectroniceStock;
import com.aisinogd.fp.dzfp.companyinterface.hessian.pojo.ReturnElectronice;

/**
 * @author leifeng
 * @Date 2017-11-17
 * 发票服务类
 **/
public interface InvEliService {

    /**
     * 将数据转换成开具电子发票数据
     * @param sysGoodList
     * @param sysConfigEntity
     * @return
     */
    InvEliInfo packageBean(GoodsList sysGoodList, ConfigEntity sysConfigEntity);

    /**
     * 同步开具正数蓝票，操作代码仅限10,11
     * @param info 开票信息
     * @return
     */
     ReturnElectronice InvEli(InvEliInfo info);

    /**
     * 发票库存查询
     * @param KP_NSRSH 税号
     * @return
     */
     ElectroniceStock queryEliStock(String  KP_NSRSH);

    /**
     * 查询电子发票信息
     * @param info
     * @return
     */
     ReturnElectronice queryEliData(InvEliInfo info);
}
